﻿ <%
					
					sSQLj = "select top 1 name,url,position,filename,type from advertising where isdeleted =0 and status =1 and position ='main'"
					Set rsj = DBLayer.GetRecordSet(sSQLj)
					
					While Not rsj.EOF
						
						%>
							
						<div>
							<a href="<%=rsj("url").Value%>" target="_blank">
								<img src="uploads/advs/<%=rsj("filename").Value%>" width="534" border="0" height="74"></a>
							<img style="position: absolute; top: 0px; left: 0px; z-index: 1;" src="js-css/a.gif"
								width="1" border="0" height="1">
						</div>
						<div name="MetaNET_Click" id="MetaNET_Click" style="font-size: 0px; line-height: 0px;
							position: absolute; top: 0px; left: 0px; z-index: 2; width: 1px; height: 1px;">
						</div>
			
							
						<%
						
						rsj.MoveNext
					Wend
					%>